package service.income;

import java.util.List;

import persistence.income.IncomminManagerDao;
import dao.IncommingManager;

public class IncomeDaoService implements IncomeService {

	private IncomminManagerDao dao;

	@Override
	public void deleteIncome(Integer id) {
		dao.deleteIncome(id);
	}

	@Override
	public List<IncommingManager> getAllIncome() {
		return dao.getAllIncome();
	}

	@Override
	public IncommingManager getIncome(Integer id) {
		return dao.getIncome(id);
	}

	@Override
	public void insertIncome(IncommingManager income) {
		dao.insertIncome(income);

	}

	@Override
	public void updateIncome(IncommingManager income) {
		dao.updateIncome(income);
	}

}
